<template>
  <div>
    <div>--------------------</div>
    <div>子组件5</div>
    <div>使用inject接受值 ： {{ proData }}</div>
    <child51></child51>
  </div>
</template>

<script>
import child51 from "./child51";
export default {
  name: "child5",
  components: { child51 },
  inject: ["proData"]
};
</script>

<style></style>
